package cn.renxuan.entity;

import cn.renxuan.repository.DbTable;

/*
 * 行政区划
 */
@DbTable(name = "tb_administrativedivision")
public class TB_AdministrativeDivision extends BaseEntity<Long, Long> {
    /**
     * 地区编号
     */
    private String code;

    /**
     * 地区名称
     */
    private String name;

    /**
     * 父级id
     */
    private Long parentId;

    /**
     * 级别
     */
    private Integer level;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

}
